from django.urls import path

app_name = 'base'

from .views import *
urlpatterns = [
    path('permission/', PermissionView.as_view()),
    path('getPermissionTree/', GetPermissionTreeView.as_view()),
    path('queryModel/', QueryView.as_view()),
    path('login/', LoginView.as_view()),
    path('getMenu/', GetMenuView.as_view()),
    path('appList/', AppListView.as_view()),
    path('appDetail/', AppDetailView.as_view()),
    path('saveApp/', SaveAppView.as_view()),
    path('deleteApp/', DeleteAppView.as_view()),
    path('roleList/', RoleListView.as_view()),
    path('roleDetail/', RoleDetailView.as_view()),
    path('saveRole/', SaveRoleView.as_view()),
    path('deleteRole/', DeleteRoleView.as_view()),
    path('roleSelectList/', RoleSelectView.as_view()),
    path('userList/', UserListView.as_view()),
    path('userDetail/', UserDetailView.as_view()),
    path('saveUser/', SaveUserView.as_view()),
    path('deleteUser/', DeleteUserView.as_view()),
    #path('changePassword/', ChangePasswordView.as_view()),
]